package com.central.scheduler.spi.register;

/**
 * @author Tindy
 * @date 2021/10/29
 * @describe Monitor the type of data changes
 */
public enum DataChangeEvent {

    ADD("ADD", 1),
    REMOVE("REMOVE", 2),
    UPDATE("UPDATE",3);

    private String type;

    private int value;

    DataChangeEvent(String type, int value) {
        this.type = type;
        this.value = value;
    }
}